<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title><%=h @page.title %></title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
	<meta name="keywords" content="<%=h @page.keywords %>" />
	<meta name="description" content="<%=h @page.descriptions %>" />
	<meta name="viewport" content="width=1000" />
	<%= stylesheet_link_tag 'space-furniture' %>
</head>

<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
	try {
	var pageTracker = _gat._getTracker("UA-5585534-3");
	pageTracker._trackPageview();
	} catch(err) {}
</script>

<body>
<div id="page_wrapper">
	<div id="header"><p style="color: green"><%= flash[:notice] %></p></div><!-- End Header -->
	
	

	<%= render(:partial => 'menu') %>
	
	<% if @page.hasFlash == 1 %>
		<!-- Flash Banner - All Pages! -->
		<div id="flash-banner">
	
			<object padding=5px classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="780" height="145" id="rapid" align="middle">
				<param name="allowScriptAccess" value="sameDomain" />
				<param name="movie" value="rapid.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="../images/rapid.swf" quality="high" bgcolor="#ffffff" width="780" height="145" name="rapid" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
			</object>
		</div>
	<% end %>
	
	<div id ="content-column">
		<br/>
		<%= yield  %>
	</div><!-- content-column -->
	
	<div id ="feature-column">
		<% for sidebox in @sideboxes %>
			<div id ="feature-box" OnClick="javascript: location.href('<%= sidebox.url %>')">
				<% for word in sidebox.title.split(/[^a-zA-Z]/) %>
					<h1><a href='<%= sidebox.url %>'><%= word %></a></h1>
				<% end %>
				<!--<img padding=5px src="../images/van.jpg"/>-->
				<p><%= sidebox.blurb %></p>
			</div>					 
		<% end%>

			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
			<p>	&nbsp;</p>
	
	</div><!-- feature-column -->
	
	
	<div id="clear">&nbsp;</div>

	<div id="footer">
		<hr/>
		<%= link_to 'About Us', about_url %> 
		| <%= link_to 'Delivery & Installation', delivery_url %> 
		| <%= link_to 'Contact Details', about_url %> 
		| <%= link_to 'Map', map_url %>
		<p>Copyright <%= link_to '&copy;', :controller => 'pages', :action => 'editcontent', :id => @page %> 2009 Rapid Office Furniture</p>
		<hr/>
	</div>
	
</div><!-- end page_wrapper -->
</body>
</html>
